package com.jkoss.wine.system.service;

import java.util.List;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jkoss.wine.system.entity.MerchantEmployees;
import com.jkoss.wine.system.vo.MerchantEmployeesVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author chair
 * @since 2018-09-20
 */
public interface IMerchantEmployeesService extends IService<MerchantEmployees> {

	boolean insertMerchantEmployees(MerchantEmployees entity, String[] pid);

	boolean updateMerchantEmployees(MerchantEmployees entity, String[] pid);

	List selectEmployeesByRole(String rname);

	Page selectVoByPage(Page page, Wrapper wrapper);

	boolean insertMerchantEmployeesVoExcel(List<MerchantEmployeesVo> list,List<MerchantEmployees> employees);

}
